package com.sinder.campus_prophet.entity.general;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 静态数据展示
 * @TableName tb_static_info
 */
@TableName(value ="tb_static_info")
@Data
public class TbStaticInfo implements Serializable {
    /**
     * 主键id
     */
    @TableId(value = "static_id", type = IdType.AUTO)
    private Integer staticId;

    /**
     * 添加人id
     */
    @TableField(value = "add_open_id")
    private String addOpenId;

    /**
     * 信息大类
     */
    @TableField(value = "static_type")
    private String staticType;

    /**
     * 信息标题
     */
    @TableField(value = "static_title")
    private String staticTitle;

    /**
     * 信息内容
     */
    @TableField(value = "static_content")
    private String staticContent;

    /**
     * 资源地址
     */
    @TableField(value = "resource_url")
    private String resourceUrl;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}